package educationaladministrationsystem.CSM.Mapper.Service.ServiceInterface.StudentAndTeacherInterface.Student;

import educationaladministrationsystem.Class.Course;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface StudentElectiveCourse {
    List<Course> getAllCourse(int page, int pageNumber);

    int getAllCoursePage(int pageNumber);

    void addNewCourse(String UID, String classId);

    Map<Integer, Integer> peopleNumAndSum(String classId);

    void updateCoursePeopleNumber(int num, String id);

    void deleteCourse(String UID, String classId);

    List<String> getHaveSelectCourse(String id);

    int getDegree(String id);

    String getCourseDegreeDemand(String id);
}
